package publics.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="z_guarantee_way")
public class GuaranteeWay {//担保方式
	
	private Integer id;//ID Integer not null,
	private String name;// 担保方式名称    varchar(10) not null,
	private Integer num;//担保方式代码      int not null,
	private String remark;
	
	@Id
    @GeneratedValue
    @Column(name="Gua_way_id")
	public Integer getId() {
		return id;
	}


	@Column(name="Gua_way_name")
	public String getName() {
		return name;
	}
    @Column(name="Gua_way_num")
	public Integer getNum() {
		return num;
	}
    @Column(name="Gua_way_remark")
	public String getRemark() {
		return remark;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setNum(Integer num) {
		this.num = num;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "GuaranteeWay [id=" + id + ", name=" + name + ", num=" + num
				+ ", remark=" + remark + "]";
	}
	
	
}
